package leetcode;

public class ListNode {
    public Integer number;
    public ListNode next;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public ListNode getNext() {
        return next;
    }

    public ListNode() {
    }

    public ListNode(Integer number) {
        this.number = number;
    }

    public void setNext(ListNode next) {
        this.next = next;
    }
}
